function Build($version)
{
	Write-Host "A build was run for version:$version"
}

function BuildIfChanged{
	$thisVersion=Get-version
	$nextVersion=Get-NextVersion
	if($thisVersion -ne $nextVersion)
	{
		Build $nextVersion
	}
	return $nextVersion
}

function Get-Version{
	throw New-Object NotImplementedException
}

function Get-NextVersion{
	throw New-Object NotImplementedException
}

